﻿package com.obas.model.business
{
	import com.obas.model.business.Entity;
	import com.obas.model.business.Location;

	[Bindable]
	[RemoteClass(alias="com.obas.model.business.Customer")]
	
	public class Customer
		extends
			com.obas.model.business.Entity
	{
		public static const ATTRIBUTE_MACADDRESS:String="macAddress";

		private var _ipAddress:String;
		private var _macAddress:String;
		private var _username:String;
		private var _pppoeCode:String;
		private var _sessionId:String;
		private var _areaId:Number;
		private var _area:com.obas.model.business.Location;

		public function Customer()
		{
		}

		public function get ipAddress():String
		{
			return _ipAddress;
		}

		public function set ipAddress(value:String):void
		{
			_ipAddress = value;
		}

		public function get macAddress():String
		{
			return _macAddress;
		}

		public function set macAddress(value:String):void
		{
			_macAddress = value;
		}

		public function get username():String
		{
			return _username;
		}

		public function set username(value:String):void
		{
			_username = value;
		}

		public function get pppoeCode():String
		{
			return _pppoeCode;
		}

		public function set pppoeCode(value:String):void
		{
			_pppoeCode = value;
		}

		public function get sessionId():String
		{
			return _sessionId;
		}

		public function set sessionId(value:String):void
		{
			_sessionId = value;
		}

		public function get areaId():Number
		{
			return _areaId;
		}

		public function set areaId(value:Number):void
		{
			_areaId = value;
		}

		public function get area():com.obas.model.business.Location
		{
			return _area;
		}

		public function set area(value:com.obas.model.business.Location):void
		{
			_area = value;
		}
	}
}